package com.neo.tiny.admin.vo.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author yqz
 * @Description
 * @CreateDate 2022/8/8 19:48
 */
@Data
public class SysRoleVO implements Serializable {


    @ApiModelProperty("角色编号")
    private Long id;

    @NotBlank(message = "角色名称 不能为空")
    @ApiModelProperty("角色名称")
    private String roleName;

    @NotBlank(message = "角色标识 不能为空")
    @ApiModelProperty("角色标识")
    private String roleKey;

    @NotBlank(message = "角色描述 不能为空")
    @ApiModelProperty("角色描述")
    private String roleDesc;

    @ApiModelProperty("显示顺序")
    private String roleSort;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
